// by: 陈同学
#include<iostream>
using namespace std;
int main()
{
  void sort(int &x,int &y,int &z);
  cout<<"Please enter three numbers:"<<endl;
  int a,b,c;
  cin>>a>>b>>c;
  sort(a,b,c);
}
void sort(int &x,int &y,int &z)
{
  int temp;
  if(x>y) {temp=x;x=y;y=temp;}
  if(z<x) cout<<x<<y<<z;
    else if(z<y) cout<<z<<y<<x;
      else cout<<y<<x<<z;
  }